log/slog.commonHandler.opts (field)
11 uses
log/slog (current package)
handler.go#L193: opts HandlerOptions
handler.go#L210: opts: h.opts,
handler.go#L224: if h.opts.Level != nil {
handler.go#L225: minLevel = h.opts.Level.Level()
handler.go#L279: rep := h.opts.ReplaceAttr
handler.go#L301: if h.opts.AddSource {
handler.go#L404: if h.opts.ReplaceAttr != nil {
handler.go#L478: if rep := s.h.opts.ReplaceAttr; rep != nil && a.Value.Kind() != KindGroup {
json_handler.go#L38: opts: *opts,
text_handler.go#L36: opts: *opts,
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)